#!/usr/bin/env python
# -*- coding: utf-8 -*-

import datetime

class MainContract:
    """
    主力合约
    """

    def __init__(self, abbreviation_code: str, code: str, transaction_date: datetime, turnover: float, ):
        super().__init__()

        self.abbreviation_code = abbreviation_code
        self.code = code
        self.transaction_date = transaction_date
        self.turnover = turnover